package com.yearner.reviewplan.plan.commands;

import lombok.Getter;
import lombok.Setter;

/**
 * @author pengyg
 * @since 2019/10/18
 */
@Getter
@Setter
public class DeletePlanCommand {
    private String userId;
    private String planId;

    public DeletePlanCommand() {

    }
    public static DeletePlanCommand create(String userId, String planId) {
        DeletePlanCommand finishPlanCommand = new DeletePlanCommand();
        finishPlanCommand.userId = userId;
        finishPlanCommand.planId = planId;
        return finishPlanCommand;
    }
}
